﻿@model IEnumerable<WebVideo.EntityFriend>
@{
    ViewBag.Title = "Kết bạn";
}

<div class="inner-container" id="inner-container" style="width: 8000px">
    <div class="wrap-widget">
        <div class="inner-widget _5">
            <h1>Kết bạn</h1>
            <div class="widget _2x3 phone bg-color-MediumSeaGreen">
                <div class="widget-content">
                    @Html.Action("Index", "Individual", new { Friend = @ViewBag.AddFriend })
                </div>
                <!--/ .widget-content-->
            </div>
            <!--/ .widget-->
            <div class="widget _3x1 phone bg-color-DarkCyan">
                <div class="widgetMsg">
                    <div class="pull-left">
                        @{
                            if (System.Web.HttpContext.Current.Request.Cookies["UserAvatar"].Value != "")
                            {
                                string v = "~/Content/Images/Avatar/" + System.Web.HttpContext.Current.Request.Cookies["UserAvatar"].Value;
                            <img src="@Url.Content(v)" alt="" height="62" width="62"/>
                            }
                            else
                            {<img src="../../Content/cssFrontEnd/images/avatar.jpg" height="62" width="62" />
                                     
                            }
                                
                        }

                    </div>
                    <p>Bạn copy đường link này và gửi cho bạn bè để thêm bạn bè vào danh sách bạn bè của bạn! :)</p>
                    @{  string link = "http://yeuquangcao.com/LoginUser/DangKy?User=" + @ViewBag.Link;
                        <input type="text" disabled="disabled" value="@link" />
                    }
                </div>
            </div>
            <!--/ .widget-->
          @Html.Action("ThongKeBan", "Individual", new { Friend = @ViewBag.AddFriend })
            <!--/ .widget-->
        </div>
        <!--/ .inner-widget-->
    </div>
    <!--/ .wrap-widget -->
</div>
<!--/ .inner-container-->
@section occasionalScripts {
    <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/jquery.min.js")" ></script>
    <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/load.js")" ></script>
    <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/styles.js")" ></script>
    <script type="text/javascript" src="@Url.Content("~/Content/cssFrontEnd/js/jquery.nicescroll.min.js")" ></script>
}
<script type="text/javascript">document.body.className = 'no-js';

    $(document).ready(function () {
        $('li#TaiKhoanCuaBan').addClass('active');
    });
</script>
